package com.itheima.dao;

import com.itheima.pojo.Member;

import java.util.List;

public interface MemberDao {
    void add(Member member);

    void edit(Member member);

    List<Member> findAll();

    Member findByParam(Integer id);

    void delById(Integer id);

    Integer findMemberCountBeforeDate(String m);

    Member findByParam(String telephone);

    Integer findMemberCountByDate(String today);

    Integer findMemberTotalCount();

    Integer findMemberCountAfterDate(String thisWeekMonday);

    void logout(String telephone);
}
